package com.itheima;

import com.itheima.mapper.EmpMapper;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.Arrays;

@SpringBootTest
public class WrapperTestSQL {
    @Autowired
    private EmpMapper empMapper;
    @Test
    @DisplayName("测试自定义sql")
    public void test1() {
        empMapper.updateSalaryIncrement(Arrays.asList(1L,2L,3L),1100);
    }
}
